package com.teng.smartdrawer.utils;

import com.teng.smartdrawer.bean.Seek;

import java.util.Comparator;

/**
 * Created by teng on 16/4/6.
 */
public class SeekComparator implements Comparator<Seek> {
    @Override
    public int compare(Seek lhs, Seek rhs) {
        if (lhs.getSeekTime() > (rhs.getSeekTime()))
            return -1;
        return 1;
    }
}
